<?php
class Parameter
{
	static $STRING_TYPE = "text";
	static $NUMBER_TYPE = "integer";
	static $DATE_TYPE = "timestamp";
	private $name;
	private $type;
	private $value;
	private $condition = "=";
	private $paramName;
	
	public function Parameter($name, $type, $value)
	{
		$this->name = $name;
		$this->paramName = $name;
		$this->type = $type;
		$this->value = $value;
	}
	
	public function getName()
	{
		return $this->name;
	}
	
	public function getType()
	{
		return $this->type;
	}
	
	public function getValue()
	{
		return $this->value;
	}
	
	public function getCondition()
	{
		return $this->condition;
	}
	
	public function setCondition($condition)
	{
		$this->condition = $condition;
	}
	
	public function getParamName()
	{
		return $this->paramName;
	}
	
	public function setParamName($paramName)
	{
		$this->paramName = $paramName;
	}
}
?>